const state = {
  currentExpands: [] // survery index table 中展开的行
}

const mutations = {
  SAVE_EXPANDS: (state, currentExpands) => {
    state.currentExpands = currentExpands
  }
}

const actions = {
  saveExpands({ commit }, currentExpands) {
    commit('SAVE_EXPANDS', currentExpands)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}

